package com.kingyun.gpsinspection.purificationservice.facade.model.iam.qhse;

import com.kingyun.gpsinspection.purificationservice.facade.model.BootstrapSearchBean;

import java.io.Serializable;
import java.util.Date;

public class Problem extends BootstrapSearchBean implements Serializable {

    //  类型为 安全隐患
    public static final Short SAFETY_RISK  = 1;
    // 类型为 设备故障
    public static final Short DEVIC_EFAULT = 2;

    // 主键
    private String problemId;

    //  问题类型 1.隐患2.设备故障
    private Short problemType;

    //  问题级别1轻微2一般2 严重3 非常严重
    private Short problemLevel;

    //  问题对象
    private String problemObject;

    //  问题描述
    private String descriptions;

    //  问题来源1 问题上报2 整改通知3 安全检查
    private Short problemSource;

    //  问题发现人
    private String findPerson;

    //  整改计划
    private String rectificationPlan;

    //  督办事件
    private String overseeEvent;

    //  备注
    private String remark;

    //  发现时间
    private Date findTime;

    //  创建人
    private String createUserId;

    //  创建时间
    private Date createTime;

    //  修改人
    private String modifyUserId;

    //  修改时间
    private Date modifyTime;

    //  是否删除
    private Short isDelete;

    //  关联业务Id
    private String relationId;

    //  处置人
    private String assignedPerson;

    //  填充字段
    //  问题发现人名称
    private String findPersonName;

    //  创建人姓名
    private String createUserName;

    //  修改人姓名
    private String modifyUserName;

    private String startTime;

    private String endTime;

    //  生产实体名称
    private String entityName;

    //  所属组织
    private String orgId;

    //  所属组织名称
    private String orgName;

    public String getProblemId() {
        return problemId;
    }

    public void setProblemId(String problemId) {
        this.problemId = problemId == null ? null : problemId.trim();
    }

    public Short getProblemType() {
        return problemType;
    }

    public void setProblemType(Short problemType) {
        this.problemType = problemType;
    }

    public Short getProblemLevel() {
        return problemLevel;
    }

    public void setProblemLevel(Short problemLevel) {
        this.problemLevel = problemLevel;
    }

    public String getProblemObject() {
        return problemObject;
    }

    public void setProblemObject(String problemObject) {
        this.problemObject = problemObject == null ? null : problemObject.trim();
    }

    public String getDescriptions() {
        return descriptions;
    }

    public void setDescriptions(String descriptions) {
        this.descriptions = descriptions == null ? null : descriptions.trim();
    }

    public Short getProblemSource() {
        return problemSource;
    }

    public void setProblemSource(Short problemSource) {
        this.problemSource = problemSource;
    }

    public String getFindPerson() {
        return findPerson;
    }

    public void setFindPerson(String findPerson) {
        this.findPerson = findPerson == null ? null : findPerson.trim();
    }

    public String getRectificationPlan() {
        return rectificationPlan;
    }

    public void setRectificationPlan(String rectificationPlan) {
        this.rectificationPlan = rectificationPlan == null ? null : rectificationPlan.trim();
    }

    public String getOverseeEvent() {
        return overseeEvent;
    }

    public void setOverseeEvent(String overseeEvent) {
        this.overseeEvent = overseeEvent == null ? null : overseeEvent.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getFindTime() {
        return findTime;
    }

    public void setFindTime(Date findTime) {
        this.findTime = findTime;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifyUserId() {
        return modifyUserId;
    }

    public void setModifyUserId(String modifyUserId) {
        this.modifyUserId = modifyUserId == null ? null : modifyUserId.trim();
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Short getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Short isDelete) {
        this.isDelete = isDelete;
    }

    public String getRelationId() {
        return relationId;
    }

    public void setRelationId(String relationId) {
        this.relationId = relationId == null ? null : relationId.trim();
    }

    public String getAssignedPerson() {
        return assignedPerson;
    }

    public void setAssignedPerson(String assignedPerson) {
        this.assignedPerson = assignedPerson == null ? null : assignedPerson.trim();
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getFindPersonName() {
        return findPersonName;
    }

    public void setFindPersonName(String findPersonName) {
        this.findPersonName = findPersonName;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getModifyUserName() {
        return modifyUserName;
    }

    public void setModifyUserName(String modifyUserName) {
        this.modifyUserName = modifyUserName;
    }

    public String getEntityName() {
        return entityName;
    }

    public void setEntityName(String entityName) {
        this.entityName = entityName;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }
}